.class public Lcom/glympse/android/glympse/ContactsHelper;
.super Ljava/lang/Object;
.source "ContactsHelper.java"


# static fields
.field public static ms_astrAddressColumns:[Ljava/lang/String;

.field public static ms_astrEmailColumns:[Ljava/lang/String;

.field public static ms_astrPhoneColumns:[Ljava/lang/String;

.field public static ms_strOrderByAddress:Ljava/lang/String;

.field public static ms_strOrderByEmail:Ljava/lang/String;

.field public static ms_strOrderByPhone:Ljava/lang/String;

.field public static ms_strWhereEmail:Ljava/lang/String;

.field public static ms_strWhereGlobAddress:Ljava/lang/String;

.field public static ms_strWhereGlobEmail:Ljava/lang/String;

.field public static ms_strWhereGlobPhone:Ljava/lang/String;

.field public static ms_uriAddress:Landroid/net/Uri;

.field public static ms_uriEmail:Landroid/net/Uri;

.field public static ms_uriPhone:Landroid/net/Uri;


# direct methods
.method static constructor <clinit>()V
    .locals 1

    .prologue
    const/4 v0, 0x0

    .line 17
    sput-object v0, Lcom/glympse/android/glympse/ContactsHelper;->ms_astrPhoneColumns:[Ljava/lang/String;

    .line 18
    sput-object v0, Lcom/glympse/android/glympse/ContactsHelper;->ms_astrEmailColumns:[Ljava/lang/String;

    .line 19
    sput-object v0, Lcom/glympse/android/glympse/ContactsHelper;->ms_astrAddressColumns:[Ljava/lang/String;

    .line 21
    sput-object v0, Lcom/glympse/android/glympse/ContactsHelper;->ms_uriPhone:Landroid/net/Uri;

    .line 22
    sput-object v0, Lcom/glympse/android/glympse/ContactsHelper;->ms_uriEmail:Landroid/net/Uri;

    .line 23
    sput-object v0, Lcom/glympse/android/glympse/ContactsHelper;->ms_uriAddress:Landroid/net/Uri;

    .line 25
    sput-object v0, Lcom/glympse/android/glympse/ContactsHelper;->ms_strWhereGlobPhone:Ljava/lang/String;

    .line 26
    sput-object v0, Lcom/glympse/android/glympse/ContactsHelper;->ms_strOrderByPhone:Ljava/lang/String;

    .line 28
    sput-object v0, Lcom/glympse/android/glympse/ContactsHelper;->ms_strWhereEmail:Ljava/lang/String;

    .line 29
    sput-object v0, Lcom/glympse/android/glympse/ContactsHelper;->ms_strWhereGlobEmail:Ljava/lang/String;

    .line 30
    sput-object v0, Lcom/glympse/android/glympse/ContactsHelper;->ms_strOrderByEmail:Ljava/lang/String;

    .line 32
    sput-object v0, Lcom/glympse/android/glympse/ContactsHelper;->ms_strWhereGlobAddress:Ljava/lang/String;

    .line 33
    sput-object v0, Lcom/glympse/android/glympse/ContactsHelper;->ms_strOrderByAddress:Ljava/lang/String;

    .line 15
    return-void
.end method

.method public constructor <init>()V
    .locals 0

    .prologue
    .line 15
    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method

.method static GetAddressLabel(I)Ljava/lang/String;
    .locals 1
    .parameter "nType"

    .prologue
    .line 209
    packed-switch p0, :pswitch_data_0

    .line 216
    const/4 v0, 0x0

    :goto_0
    return-object v0

    .line 211
    :pswitch_0
    const-string v0, "Custom"

    goto :goto_0

    .line 212
    :pswitch_1
    const-string v0, "Home"

    goto :goto_0

    .line 213
    :pswitch_2
    const-string v0, "Work"

    goto :goto_0

    .line 214
    :pswitch_3
    const-string v0, "Other"

    goto :goto_0

    .line 209
    nop

    :pswitch_data_0
    .packed-switch 0x0
        :pswitch_0
        :pswitch_1
        :pswitch_2
        :pswitch_3
    .end packed-switch
.end method

.method static GetEmailLabel(I)Ljava/lang/String;
    .locals 1
    .parameter "nType"

    .prologue
    .line 195
    packed-switch p0, :pswitch_data_0

    .line 203
    const/4 v0, 0x0

    :goto_0
    return-object v0

    .line 197
    :pswitch_0
    const-string v0, "Custom"

    goto :goto_0

    .line 198
    :pswitch_1
    const-string v0, "Home"

    goto :goto_0

    .line 199
    :pswitch_2
    const-string v0, "Work"

    goto :goto_0

    .line 200
    :pswitch_3
    const-string v0, "Other"

    goto :goto_0

    .line 201
    :pswitch_4
    const-string v0, "Mobile"

    goto :goto_0

    .line 195
    :pswitch_data_0
    .packed-switch 0x0
        :pswitch_0
        :pswitch_1
        :pswitch_2
        :pswitch_3
        :pswitch_4
    .end packed-switch
.end method

.method static GetPhoneLabel(I)Ljava/lang/String;
    .locals 1
    .parameter "nType"

    .prologue
    .line 165
    packed-switch p0, :pswitch_data_0

    .line 189
    const/4 v0, 0x0

    :goto_0
    return-object v0

    .line 167
    :pswitch_0
    const-string v0, "Custom"

    goto :goto_0

    .line 168
    :pswitch_1
    const-string v0, "Home"

    goto :goto_0

    .line 169
    :pswitch_2
    const-string v0, "Mobile"

    goto :goto_0

    .line 170
    :pswitch_3
    const-string v0, "Work"

    goto :goto_0

    .line 171
    :pswitch_4
    const-string v0, "Work fax"

    goto :goto_0

    .line 172
    :pswitch_5
    const-string v0, "Home fax"

    goto :goto_0

    .line 173
    :pswitch_6
    const-string v0, "Pager"

    goto :goto_0

    .line 174
    :pswitch_7
    const-string v0, "Other"

    goto :goto_0

    .line 175
    :pswitch_8
    const-string v0, "Callback"

    goto :goto_0

    .line 176
    :pswitch_9
    const-string v0, "Car"

    goto :goto_0

    .line 177
    :pswitch_a
    const-string v0, "Company main"

    goto :goto_0

    .line 178
    :pswitch_b
    const-string v0, "ISDN"

    goto :goto_0

    .line 179
    :pswitch_c
    const-string v0, "Main"

    goto :goto_0

    .line 180
    :pswitch_d
    const-string v0, "Other fax"

    goto :goto_0

    .line 181
    :pswitch_e
    const-string v0, "Radio"

    goto :goto_0

    .line 182
    :pswitch_f
    const-string v0, "Telex"

    goto :goto_0

    .line 183
    :pswitch_10
    const-string v0, "TTY/TDD"

    goto :goto_0

    .line 184
    :pswitch_11
    const-string v0, "Work mobile"

    goto :goto_0

    .line 185
    :pswitch_12
    const-string v0, "Work pager"

    goto :goto_0

    .line 186
    :pswitch_13
    const-string v0, "Assistant"

    goto :goto_0

    .line 187
    :pswitch_14
    const-string v0, "MMS"

    goto :goto_0

    .line 165
    :pswitch_data_0
    .packed-switch 0x0
        :pswitch_0
        :pswitch_1
        :pswitch_2
        :pswitch_3
        :pswitch_4
        :pswitch_5
        :pswitch_6
        :pswitch_7
        :pswitch_8
        :pswitch_9
        :pswitch_a
        :pswitch_b
        :pswitch_c
        :pswitch_d
        :pswitch_e
        :pswitch_f
        :pswitch_10
        :pswitch_11
        :pswitch_12
        :pswitch_13
        :pswitch_14
    .end packed-switch
.end method

.method public static Initialize()V
    .locals 15

    .prologue
    .line 39
    sget-object v0, Lcom/glympse/android/glympse/ContactsHelper;->ms_strOrderByAddress:Ljava/lang/String;

    if-eqz v0, :cond_1

    .line 160
    :cond_0
    :goto_0
    return-void

    .line 49
    :cond_1
    :try_start_0
    const-string v0, "android.provider.ContactsContract$Contacts"

    invoke-static {v0}, Ljava/lang/Class;->forName(Ljava/lang/String;)Ljava/lang/Class;

    move-result-object v3

    .line 50
    .local v3, class_ContactsContract_Contacts:Ljava/lang/Class;,"Ljava/lang/Class<*>;"
    const-string v0, "android.provider.ContactsContract$CommonDataKinds$Phone"

    invoke-static {v0}, Ljava/lang/Class;->forName(Ljava/lang/String;)Ljava/lang/Class;

    move-result-object v1

    .line 51
    .local v1, class_ContactsContract_CommonDataKinds_Phone:Ljava/lang/Class;,"Ljava/lang/Class<*>;"
    const-string v0, "android.provider.ContactsContract$CommonDataKinds$Email"

    invoke-static {v0}, Ljava/lang/Class;->forName(Ljava/lang/String;)Ljava/lang/Class;

    move-result-object v0

    .line 52
    .local v0, class_ContactsContract_CommonDataKinds_Email:Ljava/lang/Class;,"Ljava/lang/Class<*>;"
    const-string v2, "android.provider.ContactsContract$CommonDataKinds$StructuredPostal"

    invoke-static {v2}, Ljava/lang/Class;->forName(Ljava/lang/String;)Ljava/lang/Class;

    move-result-object v2

    .line 65
    .local v2, class_ContactsContract_CommonDataKinds_StructuredPostal:Ljava/lang/Class;,"Ljava/lang/Class<*>;"
    const-string v4, "DISPLAY_NAME"

    invoke-virtual {v3, v4}, Ljava/lang/Class;->getField(Ljava/lang/String;)Ljava/lang/reflect/Field;

    move-result-object v3

    .end local v3           #class_ContactsContract_Contacts:Ljava/lang/Class;,"Ljava/lang/Class<*>;"
    const/4 v4, 0x0

    invoke-virtual {v3, v4}, Ljava/lang/reflect/Field;->get(Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object v6

    check-cast v6, Ljava/lang/String;

    .line 67
    .local v6, strDisplayName:Ljava/lang/String;
    const-string v3, "TYPE"

    invoke-virtual {v1, v3}, Ljava/lang/Class;->getField(Ljava/lang/String;)Ljava/lang/reflect/Field;

    move-result-object v3

    const/4 v4, 0x0

    invoke-virtual {v3, v4}, Ljava/lang/reflect/Field;->get(Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object v12

    check-cast v12, Ljava/lang/String;

    .line 68
    .local v12, strPhoneType:Ljava/lang/String;
    const-string v3, "LABEL"

    invoke-virtual {v1, v3}, Ljava/lang/Class;->getField(Ljava/lang/String;)Ljava/lang/reflect/Field;

    move-result-object v3

    const/4 v4, 0x0

    invoke-virtual {v3, v4}, Ljava/lang/reflect/Field;->get(Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object v11

    check-cast v11, Ljava/lang/String;

    .line 69
    .local v11, strPhoneLabel:Ljava/lang/String;
    const-string v3, "NUMBER"

    invoke-virtual {v1, v3}, Ljava/lang/Class;->getField(Ljava/lang/String;)Ljava/lang/reflect/Field;

    move-result-object v3

    const/4 v4, 0x0

    invoke-virtual {v3, v4}, Ljava/lang/reflect/Field;->get(Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object v10

    check-cast v10, Ljava/lang/String;

    .line 71
    .local v10, strPhoneData:Ljava/lang/String;
    const-string v3, "TYPE"

    invoke-virtual {v0, v3}, Ljava/lang/Class;->getField(Ljava/lang/String;)Ljava/lang/reflect/Field;

    move-result-object v3

    const/4 v4, 0x0

    invoke-virtual {v3, v4}, Ljava/lang/reflect/Field;->get(Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object v9

    check-cast v9, Ljava/lang/String;

    .line 72
    .local v9, strEmailType:Ljava/lang/String;
    const-string v3, "LABEL"

    invoke-virtual {v0, v3}, Ljava/lang/Class;->getField(Ljava/lang/String;)Ljava/lang/reflect/Field;

    move-result-object v3

    const/4 v4, 0x0

    invoke-virtual {v3, v4}, Ljava/lang/reflect/Field;->get(Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object v8

    check-cast v8, Ljava/lang/String;

    .line 73
    .local v8, strEmailLabel:Ljava/lang/String;
    const-string v3, "DATA"

    invoke-virtual {v0, v3}, Ljava/lang/Class;->getField(Ljava/lang/String;)Ljava/lang/reflect/Field;

    move-result-object v3

    const/4 v4, 0x0

    invoke-virtual {v3, v4}, Ljava/lang/reflect/Field;->get(Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object v7

    check-cast v7, Ljava/lang/String;

    .line 75
    .local v7, strEmailData:Ljava/lang/String;
    const-string v3, "TYPE"

    invoke-virtual {v2, v3}, Ljava/lang/Class;->getField(Ljava/lang/String;)Ljava/lang/reflect/Field;

    move-result-object v3

    const/4 v4, 0x0

    invoke-virtual {v3, v4}, Ljava/lang/reflect/Field;->get(Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object v5

    check-cast v5, Ljava/lang/String;

    .line 76
    .local v5, strAddressType:Ljava/lang/String;
    const-string v3, "LABEL"

    invoke-virtual {v2, v3}, Ljava/lang/Class;->getField(Ljava/lang/String;)Ljava/lang/reflect/Field;

    move-result-object v3

    const/4 v4, 0x0

    invoke-virtual {v3, v4}, Ljava/lang/reflect/Field;->get(Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object v4

    check-cast v4, Ljava/lang/String;

    .line 77
    .local v4, strAddressLabel:Ljava/lang/String;
    const-string v3, "FORMATTED_ADDRESS"

    invoke-virtual {v2, v3}, Ljava/lang/Class;->getField(Ljava/lang/String;)Ljava/lang/reflect/Field;

    move-result-object v3

    const/4 v13, 0x0

    invoke-virtual {v3, v13}, Ljava/lang/reflect/Field;->get(Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object v3

    check-cast v3, Ljava/lang/String;

    .line 80
    .local v3, strAddressData:Ljava/lang/String;
    const/4 v13, 0x4

    new-array v13, v13, [Ljava/lang/String;

    const/4 v14, 0x0

    .line 81
    aput-object v6, v13, v14

    const/4 v14, 0x1

    .line 82
    aput-object v12, v13, v14

    const/4 v12, 0x2

    .line 83
    aput-object v11, v13, v12

    .end local v12           #strPhoneType:Ljava/lang/String;
    const/4 v11, 0x3

    .line 84
    aput-object v10, v13, v11

    .line 79
    .end local v11           #strPhoneLabel:Ljava/lang/String;
    sput-object v13, Lcom/glympse/android/glympse/ContactsHelper;->ms_astrPhoneColumns:[Ljava/lang/String;

    .line 88
    const/4 v11, 0x4

    new-array v11, v11, [Ljava/lang/String;

    const/4 v12, 0x0

    .line 89
    aput-object v6, v11, v12

    const/4 v12, 0x1

    .line 90
    aput-object v9, v11, v12

    const/4 v9, 0x2

    .line 91
    aput-object v8, v11, v9

    .end local v9           #strEmailType:Ljava/lang/String;
    const/4 v8, 0x3

    .line 92
    aput-object v7, v11, v8

    .line 87
    .end local v8           #strEmailLabel:Ljava/lang/String;
    sput-object v11, Lcom/glympse/android/glympse/ContactsHelper;->ms_astrEmailColumns:[Ljava/lang/String;

    .line 96
    const/4 v8, 0x4

    new-array v8, v8, [Ljava/lang/String;

    const/4 v9, 0x0

    .line 97
    aput-object v6, v8, v9

    const/4 v9, 0x1

    .line 98
    aput-object v5, v8, v9

    const/4 v5, 0x2

    .line 99
    aput-object v4, v8, v5

    .end local v5           #strAddressType:Ljava/lang/String;
    const/4 v4, 0x3

    .line 100
    aput-object v3, v8, v4

    .line 95
    .end local v4           #strAddressLabel:Ljava/lang/String;
    sput-object v8, Lcom/glympse/android/glympse/ContactsHelper;->ms_astrAddressColumns:[Ljava/lang/String;

    .line 103
    const-string v4, "CONTENT_URI"

    invoke-virtual {v1, v4}, Ljava/lang/Class;->getField(Ljava/lang/String;)Ljava/lang/reflect/Field;

    move-result-object v1

    .end local v1           #class_ContactsContract_CommonDataKinds_Phone:Ljava/lang/Class;,"Ljava/lang/Class<*>;"
    const/4 v4, 0x0

    invoke-virtual {v1, v4}, Ljava/lang/reflect/Field;->get(Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object v1

    check-cast v1, Landroid/net/Uri;

    sput-object v1, Lcom/glympse/android/glympse/ContactsHelper;->ms_uriPhone:Landroid/net/Uri;

    .line 104
    const-string v1, "CONTENT_URI"

    invoke-virtual {v0, v1}, Ljava/lang/Class;->getField(Ljava/lang/String;)Ljava/lang/reflect/Field;

    move-result-object v0

    .end local v0           #class_ContactsContract_CommonDataKinds_Email:Ljava/lang/Class;,"Ljava/lang/Class<*>;"
    const/4 v1, 0x0

    invoke-virtual {v0, v1}, Ljava/lang/reflect/Field;->get(Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Landroid/net/Uri;

    sput-object v0, Lcom/glympse/android/glympse/ContactsHelper;->ms_uriEmail:Landroid/net/Uri;

    .line 105
    const-string v0, "CONTENT_URI"

    invoke-virtual {v2, v0}, Ljava/lang/Class;->getField(Ljava/lang/String;)Ljava/lang/reflect/Field;

    move-result-object v0

    const/4 v1, 0x0

    invoke-virtual {v0, v1}, Ljava/lang/reflect/Field;->get(Ljava/lang/Object;)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Landroid/net/Uri;

    sput-object v0, Lcom/glympse/android/glympse/ContactsHelper;->ms_uriAddress:Landroid/net/Uri;

    .line 107
    new-instance v0, Ljava/lang/StringBuilder;

    const-string v1, "LOWER("

    invoke-direct {v0, v1}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V

    invoke-virtual {v0, v6}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    const-string v1, ") GLOB ? OR LOWER("

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    invoke-virtual {v0, v10}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    const-string v1, ") GLOB ?"

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v0

    sput-object v0, Lcom/glympse/android/glympse/ContactsHelper;->ms_strWhereGlobPhone:Ljava/lang/String;

    .line 108
    new-instance v0, Ljava/lang/StringBuilder;

    invoke-static {v6}, Ljava/lang/String;->valueOf(Ljava/lang/Object;)Ljava/lang/String;

    move-result-object v1

    invoke-direct {v0, v1}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V

    const-string v1, " ASC"

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v0

    sput-object v0, Lcom/glympse/android/glympse/ContactsHelper;->ms_strOrderByPhone:Ljava/lang/String;

    .line 110
    new-instance v0, Ljava/lang/StringBuilder;

    const-string v1, "LOWER("

    invoke-direct {v0, v1}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V

    invoke-virtual {v0, v6}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    const-string v1, ") GLOB ? OR LOWER("

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    invoke-virtual {v0, v7}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    const-string v1, ") GLOB ?"

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v0

    sput-object v0, Lcom/glympse/android/glympse/ContactsHelper;->ms_strWhereGlobEmail:Ljava/lang/String;

    .line 111
    sget-object v0, Lcom/glympse/android/glympse/ContactsHelper;->ms_strOrderByPhone:Ljava/lang/String;

    sput-object v0, Lcom/glympse/android/glympse/ContactsHelper;->ms_strOrderByEmail:Ljava/lang/String;

    .line 113
    new-instance v0, Ljava/lang/StringBuilder;

    const-string v1, "LOWER("

    invoke-direct {v0, v1}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V

    invoke-virtual {v0, v6}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    const-string v1, ") GLOB ? OR LOWER("

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    invoke-virtual {v0, v3}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    const-string v1, ") GLOB ?"

    invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    move-result-object v0

    invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v0

    sput-object v0, Lcom/glympse/android/glympse/ContactsHelper;->ms_strWhereGlobAddress:Ljava/lang/String;

    .line 114
    sget-object v0, Lcom/glympse/android/glympse/ContactsHelper;->ms_strOrderByPhone:Ljava/lang/String;

    sput-object v0, Lcom/glympse/android/glympse/ContactsHelper;->ms_strOrderByAddress:Ljava/lang/String;
    :try_end_0
    .catch Ljava/lang/Exception; {:try_start_0 .. :try_end_0} :catch_0

    .line 122
    .end local v2           #class_ContactsContract_CommonDataKinds_StructuredPostal:Ljava/lang/Class;,"Ljava/lang/Class<*>;"
    .end local v3           #strAddressData:Ljava/lang/String;
    .end local v6           #strDisplayName:Ljava/lang/String;
    .end local v7           #strEmailData:Ljava/lang/String;
    .end local v10           #strPhoneData:Ljava/lang/String;
    :goto_1
    sget-object v0, Lcom/glympse/android/glympse/ContactsHelper;->ms_strOrderByAddress:Ljava/lang/String;

    if-nez v0, :cond_0

    .line 128
    const/4 v0, 0x4

    new-array v0, v0, [Ljava/lang/String;

    const/4 v1, 0x0

    .line 129
    const-string v2, "name"

    aput-object v2, v0, v1

    const/4 v1, 0x1

    .line 130
    const-string v2, "type"

    aput-object v2, v0, v1

    const/4 v1, 0x2

    .line 131
    const-string v2, "label"

    aput-object v2, v0, v1

    const/4 v1, 0x3

    .line 132
    const-string v2, "number"

    aput-object v2, v0, v1

    .line 127
    sput-object v0, Lcom/glympse/android/glympse/ContactsHelper;->ms_astrPhoneColumns:[Ljava/lang/String;

    .line 137
    const/4 v0, 0x4

    new-array v0, v0, [Ljava/lang/String;

    const/4 v1, 0x0

    .line 138
    const-string v2, "name"

    aput-object v2, v0, v1

    const/4 v1, 0x1

    .line 139
    const-string v2, "type"

    aput-object v2, v0, v1

    const/4 v1, 0x2

    .line 140
    const-string v2, "label"

    aput-object v2, v0, v1

    const/4 v1, 0x3

    .line 141
    const-string v2, "data"

    aput-object v2, v0, v1

    .line 136
    sput-object v0, Lcom/glympse/android/glympse/ContactsHelper;->ms_astrEmailColumns:[Ljava/lang/String;

    .line 145
    sget-object v0, Lcom/glympse/android/glympse/ContactsHelper;->ms_astrEmailColumns:[Ljava/lang/String;

    sput-object v0, Lcom/glympse/android/glympse/ContactsHelper;->ms_astrAddressColumns:[Ljava/lang/String;

    .line 147
    sget-object v0, Landroid/provider/Contacts$Phones;->CONTENT_URI:Landroid/net/Uri;

    sput-object v0, Lcom/glympse/android/glympse/ContactsHelper;->ms_uriPhone:Landroid/net/Uri;

    .line 148
    sget-object v0, Landroid/provider/Contacts$ContactMethods;->CONTENT_URI:Landroid/net/Uri;

    sput-object v0, Lcom/glympse/android/glympse/ContactsHelper;->ms_uriEmail:Landroid/net/Uri;

    .line 149
    sget-object v0, Landroid/provider/Contacts$ContactMethods;->CONTENT_URI:Landroid/net/Uri;

    sput-object v0, Lcom/glympse/android/glympse/ContactsHelper;->ms_uriAddress:Landroid/net/Uri;

    .line 151
    const-string v0, "LOWER(name) GLOB ? OR LOWER(number) GLOB ?"

    sput-object v0, Lcom/glympse/android/glympse/ContactsHelper;->ms_strWhereGlobPhone:Ljava/lang/String;

    .line 152
    const-string v0, "name ASC"

    sput-object v0, Lcom/glympse/android/glympse/ContactsHelper;->ms_strOrderByPhone:Ljava/lang/String;

    .line 154
    const-string v0, "kind=1"

    sput-object v0, Lcom/glympse/android/glympse/ContactsHelper;->ms_strWhereEmail:Ljava/lang/String;

    .line 155
    const-string v0, "kind=1 AND (LOWER(name) GLOB ? OR LOWER(data) GLOB ?)"

    sput-object v0, Lcom/glympse/android/glympse/ContactsHelper;->ms_strWhereGlobEmail:Ljava/lang/String;

    .line 156
    const-string v0, "name ASC"

    sput-object v0, Lcom/glympse/android/glympse/ContactsHelper;->ms_strOrderByEmail:Ljava/lang/String;

    .line 158
    const-string v0, "kind=2 AND (LOWER(name) GLOB ? OR LOWER(data) GLOB ?)"

    sput-object v0, Lcom/glympse/android/glympse/ContactsHelper;->ms_strWhereGlobAddress:Ljava/lang/String;

    .line 159
    const-string v0, "name ASC"

    sput-object v0, Lcom/glympse/android/glympse/ContactsHelper;->ms_strOrderByAddress:Ljava/lang/String;

    goto/16 :goto_0

    .line 116
    :catch_0
    move-exception v0

    .line 118
    .local v0, e:Ljava/lang/Exception;
    const-string v0, "ContactsContract class not found.  Reverting back to just using older Contacts class."

    .end local v0           #e:Ljava/lang/Exception;
    invoke-static {v0}, Lcom/glympse/platform/common/Helpers;->Log(Ljava/lang/String;)V

    goto :goto_1
.end method
